<html>
    <head>
        <link rel="Stylesheet" href="../assets/css/common.css" />
        <link rel="Stylesheet" href="../assets/css/admin.css" />
        <script type="text/javascript" src="../assets/js/jquery/js/jquery-1.6.2.min.js"></script>
       
        <title>OurBarangay.com</title>
    </head>
    <body>
        <div class="container">
            <div class="admin_pane">
                Home | Sitio | Officials | Landmarks
            </div>
            <div class="header">
                <div class="header_left">
                    <img src="../assets/css/uploads/brgy_logo.png" />
                </div>
                <div class="header_right">
                    <div class="top_nav">
                        <a href="">Home</a>
                        &nbsp;|&nbsp;
                        <a href="">Career</a>
                        &nbsp;|&nbsp;
                        <a href="">Contact Us</a>
                        &nbsp;&nbsp;
                        <form name="go_to_brgy" method="POST" action="#">
                            <select name="province">
                                <option>Province</option>
                            </select>
                            <select name="municipality">
                                <option>Municipality</option>
                            </select>
                            <select name="barangay">
                                <option>Barangay</option>
                            </select>
                            <input type="submit" name="submit_go_to_brgy" />
                        </form>
                    </div>
                    <div class="top_contact">
                        Call Us Free: +63 909 267 9766
                    </div>
                </div>
            </div>
            <div class="main">
                <div class="main_left">
                    <div class="main_left_nav">
                        <ul>
                            <li class="first">HOME</li>
                            <li>ABOUT US</li>
                            <li>PRODUCTS AND SPECIALTIES</li>
                            <li>LANDMARKS</li>
                            <li>NEWS</li>
                            <li>CONTACT US</li>
                        </ul>
                    </div>
                    <div class="left_box">
                        <div class="left_box_con">
                            <span class="left_box_title">Latest Updates</span><hr />
                            <span class="left_box_art_details">January 18th, 2012</span><br />
                            <span class="">New Template Creation</span><hr />
                            <span class="left_box_art_details">January 18th, 2012</span><br />
                            <span class="">New Template Creation</span><hr />
                            <span class="left_box_art_details">January 18th, 2012</span><br />
                            <span class="">New Template Creation</span>
                        </div>
                    </div>
                    <div class="left_box">
                        <div class="left_box_con">
                            <span class="left_box_title">Contact Us</span><hr />
                            <span class="left_box_art_details">Email Address</span><br />
                            <span class="">ourbarangay@gmail.com</span><hr />
                            <span class="left_box_art_details">Mobile Number</span><br />
                            <span class="">+63 909 267 9766</span>
                        </div>
                    </div>
                </div>
                <div class="main_separator">&nbsp;</div>
                <div class="main_right">
                    <?php $this->load->view('main_slideshow'); ?>
                    <div class="main_article">
                        <span class="main_article_title">What is OurBarangay.com?</span><hr />
                        <p>
                            Lorem ipsum dolor. Lorem ipsum dolor. Lorem ipsum dolor. Lorem ipsum dolor. Lorem ipsum dolor. Lorem ipsum dolor. 
                            Lorem ipsum dolor. Lorem ipsum dolor. Lorem ipsum dolor. Lorem ipsum dolor. Lorem ipsum dolor. Lorem ipsum dolor. 
                            Lorem ipsum dolor. Lorem ipsum dolor. Lorem ipsum dolor. Lorem ipsum dolor. Lorem ipsum dolor. Lorem ipsum dolor. 
                            Lorem ipsum dolor. Lorem.
                        </p>
                        <p>
                            Lorem ipsum dolor. Lorem ipsum dolor. Lorem ipsum dolor. Lorem ipsum dolor. Lorem ipsum dolor. Lorem ipsum dolor. 
                            Lorem ipsum dolor. Lorem ipsum dolor. Lorem ipsum dolor. Lorem ipsum dolor. Lorem ipsum dolor. Lorem ipsum dolor. 
                            Lorem ipsum dolor. Lorem ipsum dolor. Lorem ipsum dolor. Lorem ipsum dolor. Lorem ipsum dolor. Lorem ipsum dolor. 
                            Lorem ipsum dolor. Lorem.
                        </p>
                        <p>
                            Lorem ipsum dolor. Lorem ipsum dolor. Lorem ipsum dolor. Lorem ipsum dolor. Lorem ipsum dolor. Lorem ipsum dolor. 
                            Lorem ipsum dolor. Lorem ipsum dolor. Lorem ipsum dolor. Lorem ipsum dolor. Lorem ipsum dolor. Lorem ipsum dolor. 
                            Lorem ipsum dolor. Lorem ipsum dolor. Lorem ipsum dolor. Lorem ipsum dolor. Lorem ipsum dolor. Lorem ipsum dolor. 
                            Lorem ipsum dolor. Lorem.
                        </p>
                    </div>
                    <div class="main_latest">
                        <div class="main_box">
                            <div class="main_box_con">asdfas</div>
                        </div>
                        <div class="main_box">
                            <div class="main_box_con">asdfsadf</div>
                        </div>
                        <div class="main_box">
                            <div class="main_box_con">asdfasdf</div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="footer" style="clear: both; top: 20px">
                <br /><hr />This is the footer
            </div>
        </div>
    <script type="text/javascript">
        $(document).ready(function() {
            var getSomeNews = $.ajax({
                type:"post",
                url:"news/get/ajax",
                datatype:"json",
                data:"getSome=3",
                success:function(data){
                    var ja = JSON.parse(data);
                    alert(data);
                    alert(ja.news[0].news_date_posted);
                },
                error:function(){
                    alert("errro");
                }
            }); 
        });
    </script>
    </body>
</html>